<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>董富贵个人网站-后台管理系统</title>
    <link rel="stylesheet" href="/web/layui/css/layui.css">
    <link rel="stylesheet" href="/web/static/css/style.css">
    <link rel="icon" href="/web/static/image/code.png">
</head>
<body>

<!-- layout admin -->
<div class="layui-layout layui-layout-admin"> <!-- 添加skin-1类可手动修改主题为纯白，添加skin-2类可手动修改主题为蓝白 -->
    <!-- header -->
    <div class="layui-header my-header">
        <a href="http://www.fgdong.com">
            <!--<img class="my-header-logo" src="" alt="logo">-->
            <div class="my-header-logo">董富贵个人网站后台</div>
        </a>
        <div class="my-header-btn">
            <button class="layui-btn layui-btn-small btn-nav"><i class="layui-icon">&#xe65f;</i></button>
        </div>

        <!-- 顶部左侧添加选项卡监听 -->
        <ul class="layui-nav" lay-filter="side-top-left">
            <!--<li class="layui-nav-item"><a href="javascript:;" href-url="demo/btn.html"><i class="layui-icon">&#xe621;</i>按钮</a></li>
            <li class="layui-nav-item">
                <a href="javascript:;"><i class="layui-icon">&#xe621;</i>基础</a>
                <dl class="layui-nav-child">
                    <dd><a href="javascript:;" href-url="demo/btn.html"><i class="layui-icon">&#xe621;</i>按钮</a></dd>
                    <dd><a href="javascript:;" href-url="demo/form.html"><i class="layui-icon">&#xe621;</i>表单</a></dd>
                </dl>
            </li>-->
        </ul>

        <!-- 顶部右侧添加选项卡监听 -->
        <ul class="layui-nav my-header-user-nav" lay-filter="side-top-right">
            <li class="layui-nav-item">
                <a href="/logout"><i class="layui-icon">&#x1006;</i>退出</a>
                {{--<a class="name" href="javascript:;"><img src="/web/static/image/code.png" alt="logo"> Admin </a>--}}
                {{--<dl class="layui-nav-child">--}}
                    {{--<dd><a href="/"><i class="layui-icon">&#x1006;</i>退出</a></dd>--}}
                {{--</dl>--}}
            </li>
        </ul>

    </div>
    <!-- side -->
    <div class="layui-side my-side">
        <div class="layui-side-scroll">
            <!-- 左侧主菜单添加选项卡监听 -->
            <ul class="layui-nav layui-nav-tree" lay-filter="side-main">
                <li class="layui-nav-item">
                    <a href="javascript:;"><i class="layui-icon">&#xe68e;</i>首页</a>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;"><i class="layui-icon">&#xe770;</i>文章管理</a>
                    <dl class="layui-nav-child">
                        <dd><a href="javascript:;" href-url="/blog"><i class="layui-icon">&#xe770;</i>文章管理</a></dd>
                        <dd><a href="javascript:;" href-url="/category"><i class="layui-icon">&#xe770;</i>分类信息</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;"><i class="layui-icon">&#xe620;</i>我的账号</a>
                    <dl class="layui-nav-child">
                        <dd><a href="javascript:;" href-url="/setting"><i class="layui-icon">&#xe60b;</i>账号设置</a></dd>
                    </dl>
                </li>

                <li class="layui-nav-item">
                    <a href="javascript:;"><i class="layui-icon">&#xe620;</i>系统设置</a>
                    <dl class="layui-nav-child">
                        <dd><a href="javascript:;" href-url="/admin"><i class="layui-icon">&#xe621;</i>管理员列表</a></dd>
                        {{--<dd><a href="javascript:;" href-url="/role"><i class="layui-icon">&#xe621;</i>权限管理</a></dd>--}}
                        {{--<dd><a href="javascript:;" href-url="/logger"><i class="layui-icon">&#xe621;</i>操作日志</a></dd>--}}

                    </dl>
                </li>

            </ul>

        </div>
    </div>
    <!-- body -->
    <div class="layui-body my-body">
        <div class="layui-tab layui-tab-card my-tab" lay-filter="card" lay-allowClose="true">
            <ul class="layui-tab-title">
                <li class="layui-this" lay-id="1"><span><i class="layui-icon">&#xe68e;</i>首页</span></li>
            </ul>
            <div class="layui-tab-content">
                <div class="layui-tab-item layui-show">
                    <iframe id="iframe" src="/index" frameborder="0"></iframe>
                </div>
            </div>
        </div>
    </div>
    <!-- footer -->

</div>

<!-- 右键菜单 -->
<div class="my-dblclick-box none">
    <table class="layui-tab dblclick-tab">
        <tr class="card-refresh">
            <td><i class="layui-icon">&#x1002;</i>刷新当前标签</td>
        </tr>
        <tr class="card-close">
            <td><i class="layui-icon">&#x1006;</i>关闭当前标签</td>
        </tr>
        <tr class="card-close-all">
            <td><i class="layui-icon">&#x1006;</i>关闭所有标签</td>
        </tr>
    </table>
</div>

<script type="text/javascript" src="/web/layui/layui.js"></script>
<script type="text/javascript" src="/web/static/js/vip_comm.js"></script>
<script type="text/javascript">
    layui.use(['layer','vip_nav'], function () {

        // 操作对象
        var layer       = layui.layer,
            vipNav     = layui.vip_nav,
            $          = layui.jquery;

        // 顶部左侧菜单生成 [请求地址,过滤ID,是否展开,携带参数]
//        vipNav.top_left('./json/nav_top_left.json','side-top-left',false);
//        // 主体菜单生成 [请求地址,过滤ID,是否展开,携带参数]
//        vipNav.main('./json/nav_main.json','side-main',true);

        // you code ...


    });
</script>
</body>
</html>